<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fdk-aac: original/libSBRenc/src/bit_sbr.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">fdk-aac
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ed137715e08969a186ec660e8ae6e2fb.html">original</a></li><li class="navelem"><a class="el" href="dir_ed04b364c633b7d989cbbfdbe7d82d9c.html">libSBRenc</a></li><li class="navelem"><a class="el" href="dir_503efe22260b46e9073f09b8bee50978.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">bit_sbr.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>SBR bit writing routines.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="bit__sbr_8h_source.html">bit_sbr.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="code__env_8h_source.html">code_env.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="cmondata_8h_source.html">cmondata.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="sbr_8h_source.html">sbr.h</a>&quot;</code><br />
<code>#include &quot;ps_main.h&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a581f3ca1e127c623d74600c7f55f29e5"><td class="memItemLeft" align="right" valign="top"><a id="a581f3ca1e127c623d74600c7f55f29e5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MODE_FREQ_TANS</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a581f3ca1e127c623d74600c7f55f29e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ad469d6be24d40ffbd9aa5f5f1d3b53"><td class="memItemLeft" align="right" valign="top"><a id="a6ad469d6be24d40ffbd9aa5f5f1d3b53"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MODE_NO_FREQ_TRAN</b>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a6ad469d6be24d40ffbd9aa5f5f1d3b53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeabc2dc3889503d2317e196da61fc79"><td class="memItemLeft" align="right" valign="top"><a id="afeabc2dc3889503d2317e196da61fc79"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LD_TRANSMISSION</b>&#160;&#160;&#160;MODE_FREQ_TANS</td></tr>
<tr class="separator:afeabc2dc3889503d2317e196da61fc79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85bce26fc39eeaff06912c7d4afb346a"><td class="memItemLeft" align="right" valign="top"><a id="a85bce26fc39eeaff06912c7d4afb346a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SBR_CLA_BITS_LD</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a85bce26fc39eeaff06912c7d4afb346a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a94d6387f3ec4a6c003c140ef0e32e804"><td class="memItemLeft" align="right" valign="top"><a id="a94d6387f3ec4a6c003c140ef0e32e804"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>SBR_ELEMENT_TYPE</b> { <b>SBR_ID_SCE</b> = 1
, <b>SBR_ID_CPE</b>
 }</td></tr>
<tr class="separator:a94d6387f3ec4a6c003c140ef0e32e804"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ad43244f9aa6fa6ed7f9f7fc370ba5068"><td class="memItemLeft" align="right" valign="top"><a id="ad43244f9aa6fa6ed7f9f7fc370ba5068"></a>
<a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>FDKsbrEnc_WriteEnvSingleChannelElement</b> (<a class="el" href="struct_s_b_r___h_e_a_d_e_r___d_a_t_a.html">HANDLE_SBR_HEADER_DATA</a> sbrHeaderData, <a class="el" href="struct_t___p_a_r_a_m_e_t_r_i_c___s_t_e_r_e_o.html">HANDLE_PARAMETRIC_STEREO</a> hParametricStereo, <a class="el" href="struct_s_b_r___b_i_t_s_t_r_e_a_m___d_a_t_a.html">HANDLE_SBR_BITSTREAM_DATA</a> sbrBitstreamData, <a class="el" href="struct_s_b_r___e_n_v___d_a_t_a.html">HANDLE_SBR_ENV_DATA</a> sbrEnvData, <a class="el" href="struct_c_o_m_m_o_n___d_a_t_a.html">HANDLE_COMMON_DATA</a> cmonData, <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> sbrSyntaxFlags)</td></tr>
<tr class="separator:ad43244f9aa6fa6ed7f9f7fc370ba5068"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a609e0f7bb0b104ad4064a45d4f91c6d0"><td class="memItemLeft" align="right" valign="top"><a id="a609e0f7bb0b104ad4064a45d4f91c6d0"></a>
<a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>FDKsbrEnc_WriteEnvChannelPairElement</b> (<a class="el" href="struct_s_b_r___h_e_a_d_e_r___d_a_t_a.html">HANDLE_SBR_HEADER_DATA</a> sbrHeaderData, <a class="el" href="struct_t___p_a_r_a_m_e_t_r_i_c___s_t_e_r_e_o.html">HANDLE_PARAMETRIC_STEREO</a> hParametricStereo, <a class="el" href="struct_s_b_r___b_i_t_s_t_r_e_a_m___d_a_t_a.html">HANDLE_SBR_BITSTREAM_DATA</a> sbrBitstreamData, <a class="el" href="struct_s_b_r___e_n_v___d_a_t_a.html">HANDLE_SBR_ENV_DATA</a> sbrEnvDataLeft, <a class="el" href="struct_s_b_r___e_n_v___d_a_t_a.html">HANDLE_SBR_ENV_DATA</a> sbrEnvDataRight, <a class="el" href="struct_c_o_m_m_o_n___d_a_t_a.html">HANDLE_COMMON_DATA</a> cmonData, <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> sbrSyntaxFlags)</td></tr>
<tr class="separator:a609e0f7bb0b104ad4064a45d4f91c6d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48eb82cea5de86292c7fa4382d6d46ae"><td class="memItemLeft" align="right" valign="top"><a id="a48eb82cea5de86292c7fa4382d6d46ae"></a>
<a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>FDKsbrEnc_CountSbrChannelPairElement</b> (<a class="el" href="struct_s_b_r___h_e_a_d_e_r___d_a_t_a.html">HANDLE_SBR_HEADER_DATA</a> sbrHeaderData, <a class="el" href="struct_t___p_a_r_a_m_e_t_r_i_c___s_t_e_r_e_o.html">HANDLE_PARAMETRIC_STEREO</a> hParametricStereo, <a class="el" href="struct_s_b_r___b_i_t_s_t_r_e_a_m___d_a_t_a.html">HANDLE_SBR_BITSTREAM_DATA</a> sbrBitstreamData, <a class="el" href="struct_s_b_r___e_n_v___d_a_t_a.html">HANDLE_SBR_ENV_DATA</a> sbrEnvDataLeft, <a class="el" href="struct_s_b_r___e_n_v___d_a_t_a.html">HANDLE_SBR_ENV_DATA</a> sbrEnvDataRight, <a class="el" href="struct_c_o_m_m_o_n___d_a_t_a.html">HANDLE_COMMON_DATA</a> cmonData, <a class="el" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> sbrSyntaxFlags)</td></tr>
<tr class="separator:a48eb82cea5de86292c7fa4382d6d46ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a347f30f3384e434b7fb0cf4ed5f63a20"><td class="memItemLeft" align="right" valign="top"><a id="a347f30f3384e434b7fb0cf4ed5f63a20"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sbrEncoder_GetHeader</b> (<a class="el" href="struct_s_b_r___e_n_c_o_d_e_r.html">SBR_ENCODER</a> *sbrEncoder, <a class="el" href="struct_f_d_k___b_i_t_s_t_r_e_a_m.html">HANDLE_FDK_BITSTREAM</a> hBs, <a class="el" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> element_index, int fSendHeaders)</td></tr>
<tr class="separator:a347f30f3384e434b7fb0cf4ed5f63a20"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>SBR bit writing routines. </p>
<dl class="section rcs"><dt>Revision</dt><dd>93300 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
